package io;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

/**
 * 说明:
 *
 * @author:SuZhongHe
 * @date:2023/3/7
 **/
public class FOSDemo {
    public static void main(String[] args) throws IOException {
       // File file = new File("fos.txt");
        FileOutputStream fos = new FileOutputStream("fos.txt",true);

        fos.write(-1);
        fos.close();
        System.out.println("写出完毕");
    }
}
